﻿using UnityEngine;
using System.Collections;

public class Trunk : MonoBehaviour {

	public float timerToDestroy;

	void OnTriggerExit(Collider other)
	{
		if(other.gameObject.tag == "TrunkDestroyer")
		{
			Debug.Log("VAI!");
			Destroy (gameObject, timerToDestroy);
		}
	}



}
